Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.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.001505/0.001505, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.001646/0.001646, allocations: 216.5 kB / 23.07 MB, free: 4.844 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.366/1.366, allocations: 230.7 MB / 256.9 MB, free: 7.773 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.002434/0.002434, allocations: 295.5 kB / 313.6 MB, free: 2.562 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.164/1.164, allocations: 180.7 MB / 0.5378 GB, free: 14.44 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.BatterySimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple") translateModel(BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.659e-05, allocations: 2.281 kB / 0.7407 GB, free: 28.06 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple): time 0.002295/0.002311, allocations: 1.896 MB / 0.7426 GB, free: 26.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.003442, allocations: 0.8621 MB / 0.7434 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.202e-05/0.003524, allocations: 13.12 kB / 0.7434 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.00371, allocations: 40.42 kB / 0.7435 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.003799, allocations: 58.45 kB / 0.7435 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.004035, allocations: 88.44 kB / 0.7436 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004211, allocations: 216.9 kB / 0.7438 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.294e-05/0.004294, allocations: 14.98 kB / 0.7438 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.004423, allocations: 90.89 kB / 0.7439 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.618e-05/0.004509, allocations: 80.2 kB / 0.744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.004533, allocations: 8.156 kB / 0.744 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.004665, allocations: 82.59 kB / 0.7441 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of combineBinaries: time 0.0001651/0.00483, allocations: 312.5 kB / 0.7444 GB, free: 25.67 MB / 0.5294 GB Notification: Performance of replaceArrayConstructors: time 6.115e-05/0.004891, allocations: 190.9 kB / 0.7446 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.83e-05/0.004919, allocations: 10.19 kB / 0.7446 GB, free: 25.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.32e-05/0.004932, allocations: 2.688 kB / 0.7446 GB, free: 25.54 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: 19 (19) * Number of variables: 19 (19) Notification: Performance of [SIM] Bindings: time 0.0006407/0.005573, allocations: 0.9112 MB / 0.7455 GB, free: 24.82 MB / 0.5294 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001643/0.005737, allocations: 141.8 kB / 0.7456 GB, free: 24.73 MB / 0.5294 GB Notification: Performance of [SIM] Early Inline: time 0.0002832/0.006021, allocations: 449.5 kB / 0.746 GB, free: 24.5 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 1: time 0.0001231/0.006144, allocations: 137.8 kB / 0.7462 GB, free: 24.38 MB / 0.5294 GB Notification: Performance of [SIM] Alias: time 0.0005782/0.006722, allocations: 0.5392 MB / 0.7467 GB, free: 24.01 MB / 0.5294 GB Notification: Performance of [SIM] Simplify 2: time 0.0001151/0.006837, allocations: 141.3 kB / 0.7468 GB, free: 23.89 MB / 0.5294 GB Notification: Performance of [SIM] Remove Stream: time 5.48e-05/0.006892, allocations: 80.28 kB / 0.7469 GB, free: 23.82 MB / 0.5294 GB Notification: Performance of [SIM] Detect States: time 0.000188/0.00708, allocations: 198.7 kB / 0.7471 GB, free: 23.64 MB / 0.5294 GB Notification: Performance of [SIM] Events: time 7.497e-05/0.007155, allocations: 47.03 kB / 0.7471 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of [SIM] Partitioning: time 0.0001601/0.007315, allocations: 180.2 kB / 0.7473 GB, free: 23.55 MB / 0.5294 GB Notification: Performance of [SIM] Causalize: time 0.000309/0.007624, allocations: 304 kB / 0.7476 GB, free: 23.46 MB / 0.5294 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000176/0.0078, allocations: 327.5 kB / 0.7479 GB, free: 23.32 MB / 0.5294 GB Notification: Performance of [INI] Simplify: time 0.0003286/0.008128, allocations: 287 kB / 0.7482 GB, free: 23.1 MB / 0.5294 GB Notification: Performance of [INI] Inline: time 0.0003018/0.00843, allocations: 0.5186 MB / 0.7487 GB, free: 22.86 MB / 0.5294 GB Notification: Performance of [INI] Partitioning: time 2.184e-05/0.008452, allocations: 18.36 kB / 0.7487 GB, free: 22.84 MB / 0.5294 GB Notification: Performance of [INI] Cleanup: time 5.654e-05/0.008509, allocations: 86.72 kB / 0.7488 GB, free: 22.8 MB / 0.5294 GB Notification: Performance of [INI] Causalize: time 0.0008558/0.009364, allocations: 0.7953 MB / 0.7496 GB, free: 22.6 MB / 0.5294 GB Notification: Performance of [INI] Tearing: time 1.254e-05/0.009377, allocations: 14.47 kB / 0.7496 GB, free: 22.59 MB / 0.5294 GB Notification: Performance of [SIM] Initialization: time 1.002e-06/0.009378, allocations: 6.344 kB / 0.7496 GB, free: 22.59 MB / 0.5294 GB Notification: Performance of [SIM] DAE-Mode: time 0.0001383/0.009516, allocations: 121.8 kB / 0.7497 GB, free: 22.53 MB / 0.5294 GB Notification: Performance of [SIM] Remove Dummies: time 3.837e-06/0.00952, allocations: 0 / 0.7497 GB, free: 22.53 MB / 0.5294 GB Notification: Performance of [SIM] Tearing: time 6.031e-06/0.009526, allocations: 20.03 kB / 0.7497 GB, free: 22.52 MB / 0.5294 GB Notification: Performance of [SIM] Categorize: time 6.052e-06/0.009532, allocations: 6.094 kB / 0.7497 GB, free: 22.51 MB / 0.5294 GB Notification: Performance of [SIM] Solve: time 0.0004569/0.009989, allocations: 457.9 kB / 0.7502 GB, free: 22.38 MB / 0.5294 GB Notification: Performance of [SIM] Jacobian: time 0.0002861/0.01028, allocations: 493.5 kB / 0.7506 GB, free: 21.95 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: ............... 1 * 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: ............................. 4 (4) {battery.EAva, battery.EBou, battery.E_charged, battery.E_discharged} * Number of discrete states: .................... 2 (2) {gain.T_start, gain.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 3 (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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 27 (scalar:27, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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 9.136e-05/0.01037, allocations: 35.11 kB / 0.7507 GB, free: 21.92 MB / 0.5294 GB Notification: Performance of SimCode: time 0.0008698/0.01124, allocations: 0.7453 MB / 0.7514 GB, free: 21.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.005373/0.01661, allocations: 2.467 MB / 0.7538 GB, free: 21.26 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.makefile [Timeout 660] make -j1 -f BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.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_BatterySimple -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.BatterySimple.o BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.c In file included from BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple.c:7: In file included from ./BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple_model.h:28: ./BuildingSystems_BuildingSystems.Technologies.ElectricalStorages.Examples.BatterySimple_functions.h:20:1: error: unknown type name 'BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_LeadAcidGeneric' BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_LeadAcidGeneric omc_BuildingSystems_Technologies_ElectricalStorages_Data_LeadAcid_LeadAcidGeneric (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.BatterySimple.o] Error 1 [Calling os._exit(0), Time elapsed: 3.8418805829714984] Failed to read output from testmodel.py, exit status != 0: 0.02271741401636973 0.034534099000000006 0.027232017 Calling exit ...