Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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.001519/0.001519, 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.001533/0.001533, 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.302/1.302, allocations: 225.6 MB / 250.1 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.664/2.664, 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.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I|sen.V",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/1.882e-05, allocations: 2.281 kB / 1.136 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.003738/0.003756, allocations: 2.58 MB / 1.139 GB, free: 9.953 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.00504, allocations: 0.8064 MB / 1.14 GB, free: 9.145 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.005115, allocations: 7.938 kB / 1.14 GB, free: 9.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.006255, allocations: 0.5414 MB / 1.14 GB, free: 8.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.006531, allocations: 103.5 kB / 1.14 GB, free: 8.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.006794, allocations: 115.7 kB / 1.141 GB, free: 8.375 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.007118, allocations: 271.3 kB / 1.141 GB, free: 8.109 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/0.007427, allocations: 121.3 kB / 1.141 GB, free: 7.988 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.007574, allocations: 119.6 kB / 1.141 GB, free: 7.871 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.007754, allocations: 79.66 kB / 1.141 GB, free: 7.793 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.007777, allocations: 12 kB / 1.141 GB, free: 7.781 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001494/0.007926, allocations: 83.8 kB / 1.141 GB, free: 7.699 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0002221/0.008149, allocations: 233.9 kB / 1.141 GB, free: 7.469 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001062/0.008255, allocations: 130.4 kB / 1.142 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.008287, allocations: 23.88 kB / 1.142 GB, free: 7.316 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.015e-05/0.008308, allocations: 0 / 1.142 GB, free: 7.316 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: 37 (27) * Number of variables: 37 (25) Notification: Performance of Bindings: time 0.0007556/0.009063, allocations: 0.6012 MB / 1.142 GB, free: 6.594 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001007/0.009164, allocations: 66.73 kB / 1.142 GB, free: 6.531 MB / 0.92 GB Notification: Performance of Early Inline: time 0.000348/0.009512, allocations: 300.1 kB / 1.143 GB, free: 6.211 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001016/0.009613, allocations: 84.36 kB / 1.143 GB, free: 6.102 MB / 0.92 GB Notification: Performance of Alias: time 0.001071/0.01068, allocations: 0.6288 MB / 1.143 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Simplify 2: time 7.69e-05/0.01076, allocations: 64.38 kB / 1.143 GB, free: 5.246 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.688e-05/0.01083, allocations: 60.41 kB / 1.143 GB, free: 5.16 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001791/0.01101, allocations: 90.25 kB / 1.143 GB, free: 5.031 MB / 0.92 GB Notification: Performance of Events: time 6.101e-05/0.01107, allocations: 27.97 kB / 1.143 GB, free: 5.004 MB / 0.92 GB Notification: Performance of Partitioning: time 0.000124/0.01119, allocations: 88.2 kB / 1.144 GB, free: 4.902 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005396/0.01173, allocations: 429.7 kB / 1.144 GB, free: 4.477 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001363/0.01187, allocations: 135.7 kB / 1.144 GB, free: 4.344 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001891/0.01206, allocations: 132.7 kB / 1.144 GB, free: 4.164 MB / 0.92 GB Notification: Performance of Inline: time 0.0002276/0.01228, allocations: 235.7 kB / 1.144 GB, free: 3.93 MB / 0.92 GB Notification: Performance of Partitioning: time 1.754e-05/0.0123, allocations: 16.3 kB / 1.144 GB, free: 3.906 MB / 0.92 GB Notification: Performance of Cleanup: time 6.153e-05/0.01236, allocations: 67.94 kB / 1.144 GB, free: 3.836 MB / 0.92 GB Notification: Performance of Causalize: time 0.001068/0.01343, allocations: 0.8224 MB / 1.145 GB, free: 3.012 MB / 0.92 GB Notification: Performance of Tearing: time 1.12e-05/0.01344, allocations: 3.938 kB / 1.145 GB, free: 3.008 MB / 0.92 GB Notification: Performance of Initialization: time 3.2e-07/0.01344, allocations: 4 kB / 1.145 GB, free: 3.004 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.787e-06/0.01345, allocations: 0 / 1.145 GB, free: 3.004 MB / 0.92 GB Notification: Performance of Tearing: time 3.146e-06/0.01345, allocations: 4 kB / 1.145 GB, free: 3 MB / 0.92 GB Notification: Performance of Categorize: time 8.005e-06/0.01346, allocations: 4 kB / 1.145 GB, free: 2.996 MB / 0.92 GB Notification: Performance of Solve: time 0.0001524/0.01361, allocations: 67.91 kB / 1.145 GB, free: 2.93 MB / 0.92 GB Notification: Performance of Jacobian: time 4.298e-06/0.01362, allocations: 0 / 1.145 GB, free: 2.93 MB / 0.92 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 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: ................. 1 (1) {$SEV_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: ........... 12 (scalar:10, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, 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: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:11, array:2, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.936e-05/0.01366, allocations: 35.25 kB / 1.145 GB, free: 2.902 MB / 0.92 GB Notification: Performance of SimCode: time 0.001299/0.01496, allocations: 1.257 MB / 1.147 GB, free: 1.609 MB / 0.92 GB Notification: Performance of Templates: time 0.004449/0.01941, allocations: 1.468 MB / 1.148 GB, free: 144 kB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile [Timeout 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor.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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_functions.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_records.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_01exo.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_02nls.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_03lsy.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_04set.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_05evt.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_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_Electrical_DC_Sensors_Examples_GeneralizedSensor -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.Electrical.DC.Sensors.Examples.GeneralizedSensor_06inz.o Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_06inz.c Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_06inz.c:74:99: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'real_array' (aka 'struct base_array_s') (data->localData[0]->realVars[data->simulationInfo->realVarsIndex[10]] /* loa.i[2] variable */) = tmp0; ^ ~~~~ 1 error generated. make: *** [: Buildings_latest_Buildings.Electrical.DC.Sensors.Examples.GeneralizedSensor_06inz.o] Error 1 [Calling os._exit(0), Time elapsed: 6.282572317868471]