Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.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.001478/0.001478, allocations: 104.3 kB / 19.76 MB, free: 1.898 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.001548/0.001548, allocations: 217.5 kB / 23.07 MB, free: 4.992 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.321/1.321, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002481/0.002481, allocations: 290.9 kB / 313.6 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.117/1.117, allocations: 180.7 MB / 0.5378 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex") translateModel(BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.846e-05, allocations: 6.219 kB / 0.7407 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex): time 0.002749/0.002768, allocations: 2.47 MB / 0.7432 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.004184, allocations: 1.071 MB / 0.7442 GB, free: 25.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.004309, allocations: 16.78 kB / 0.7442 GB, free: 25.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.004519, allocations: 72.42 kB / 0.7443 GB, free: 25.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.004702, allocations: 129.5 kB / 0.7444 GB, free: 25.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.005045, allocations: 182.3 kB / 0.7446 GB, free: 25.21 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.005418, allocations: 0.5603 MB / 0.7451 GB, free: 24.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.005527, allocations: 28.67 kB / 0.7452 GB, free: 24.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.005765, allocations: 247.3 kB / 0.7454 GB, free: 24.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.00596, allocations: 201.4 kB / 0.7456 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.006013, allocations: 28.75 kB / 0.7456 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001746/0.006187, allocations: 106 kB / 0.7457 GB, free: 24.73 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0004051/0.006592, allocations: 0.7678 MB / 0.7465 GB, free: 24.25 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 0.0001474/0.00674, allocations: 448.7 kB / 0.7469 GB, free: 23.94 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.006794, allocations: 29.38 kB / 0.7469 GB, free: 23.94 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.067e-05/0.006815, allocations: 4.938 kB / 0.7469 GB, free: 23.94 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 (49) * Number of variables: 49 (49) Notification: Performance of [SIM] Bindings: time 0.001229/0.008045, allocations: 1.995 MB / 0.7489 GB, free: 22.58 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004003/0.008445, allocations: 412.1 kB / 0.7493 GB, free: 22.35 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0008134/0.009258, allocations: 1.226 MB / 0.7505 GB, free: 21.77 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0003015/0.00956, allocations: 306.4 kB / 0.7508 GB, free: 21.6 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.001342/0.0109, allocations: 1.371 MB / 0.7521 GB, free: 20.74 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0002949/0.0112, allocations: 309.5 kB / 0.7524 GB, free: 20.57 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 0.0001369/0.01133, allocations: 172.2 kB / 0.7526 GB, free: 20.45 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.0003844/0.01172, allocations: 426.8 kB / 0.753 GB, free: 20.17 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 0.0001796/0.0119, allocations: 166.9 kB / 0.7531 GB, free: 20.08 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0004219/0.01232, allocations: 491.3 kB / 0.7536 GB, free: 19.9 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.0009455/0.01327, allocations: 0.8629 MB / 0.7544 GB, free: 19.7 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0006506/0.01392, allocations: 0.9378 MB / 0.7554 GB, free: 19.28 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0007498/0.01467, allocations: 0.6348 MB / 0.756 GB, free: 18.92 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.001085/0.01575, allocations: 1.529 MB / 0.7575 GB, free: 18.22 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 4.566e-05/0.0158, allocations: 31.39 kB / 0.7575 GB, free: 18.2 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 0.000174/0.01597, allocations: 244.7 kB / 0.7577 GB, free: 18.08 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.002828/0.0188, allocations: 2.249 MB / 0.7599 GB, free: 17.52 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 2.466e-05/0.01882, allocations: 41.22 kB / 0.76 GB, free: 17.49 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 7.92e-07/0.01882, allocations: 0 / 0.76 GB, free: 17.49 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 0.0004897/0.01931, allocations: 374 kB / 0.7603 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 6.693e-06/0.01932, allocations: 1.469 kB / 0.7603 GB, free: 17.32 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 1.688e-05/0.01934, allocations: 43.47 kB / 0.7604 GB, free: 17.29 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 1.264e-05/0.01935, allocations: 10.34 kB / 0.7604 GB, free: 17.29 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.001629/0.02098, allocations: 1.343 MB / 0.7617 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.0007125/0.02169, allocations: 1.066 MB / 0.7627 GB, free: 16 MB / 0.5294 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 2 * 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: ............................. 8 (8) {battery_1C.EAva, battery_1C.EBou, battery_1C.E_charged, battery_1C.E_discharged, battery_C20.EAva, battery_C20.EBou, battery_C20.E_charged, battery_C20.E_discharged} * Number of discrete states: .................... 6 (6) {load_C20.T_start, load_C20.count, load_1C.T_start, load_1C.count, gain.T_start, gain.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {$SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_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: ........... 45 (scalar:45, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 69 (scalar:69, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, 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.0001152/0.02181, allocations: 57.7 kB / 0.7628 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001923/0.02373, allocations: 1.624 MB / 0.7644 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of Templates: time 0.01155/0.03528, allocations: 6.014 MB / 0.7702 GB, free: 14.44 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.makefile [Timeout 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.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=BuildingSystems_BuildingSystems_Technologies_ElectricalStorages_Examples_BatteryComplex -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 BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.o BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.c In file included from BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.c:7: In file included from ./BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex_model.h:28: ./BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex_functions.h:20:1: error: unknown type name 'BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_Chloride200Ah' BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_Chloride200Ah omc_BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_Chloride200Ah (threadData_t *threadData, modelica_real omc_E_nominal, modelica_real omc_U_nominal, modelica_real omc_SOC_min, modelica_real omc_c, modelica_real omc_k, modelica_real omc_etaCharge, modelica_real omc_etaLoad, modelica_real omc_fDis, modelica_real omc_PLoad_max, modelica_real omc_PCharge_max, modelica_real omc_p, modelica_real omc_a_mcr); ^ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatteryComplex.o] Error 1 [Calling os._exit(0), Time elapsed: 3.764033487997949] Failed to read output from testmodel.py, exit status != 0: 0.04180941602680832 0.053009696 0.043831154000000004 Calling exit ...